/**
 * Date: 2004-4-10
 * Time: 19:54:35
 */

package org.cnmarc4j.cnmarc;

/**
 * <p><code>IllegalDataElementException</code> is thrown when a data element
 * contains invalid characters, like a field or record terminator
 * or a delimiter.</p>
 */
public class IllegalDataElementException
    extends IllegalArgumentException {

    /**
     * <p>Creates a new <code>IllegalDataElementException</code>.</p>
     */
    public IllegalDataElementException() {
	super();
  }

    /**
     * <p>Creates a new <code>IllegalDataElementException</code>.</p>
     *
     * @param reason the reason why the exception is thrown
     */
    public IllegalDataElementException(String reason) {
	super(reason);
  }

}

